package com.lz.water.monitor.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import com.lz.water.monitor.entity.User;

public interface UserMapper {

	@Select("select * from user where id=#{id}")
	public User findById(int id);

	@Insert("insert into user(status) values(#{status})")
	public void save(User user);
}
